<?php

/**
 * Subclass for representing a row from the 'historia_psicologica' table.
 *
 * 
 *
 * @package lib.model
 */ 
class HistoriaPsicologica extends BaseHistoriaPsicologica
{

	  public $numeroFinal='';
	
	
	function getNumeroFinal()
	{
	 if ($this->numeroFinal == '')
	 {
	 	$c = new Criteria();
	 	$numero =HistoriaPsicologicaPeer::doCount($c);
	 }
	      $numero++;
          $this->numeroFinal= $numero;
   return  $this->numeroFinal;		

	}


}
